package com.walter.service.impl;

import com.walter.dao.PersonalDao;
import com.walter.dao.impl.PersonalDaoImpl;
import com.walter.domain.Personal;
import com.walter.service.PersonalService;

public class PersonalServiceImpl implements PersonalService {

	private PersonalDao pDao=new PersonalDaoImpl();
	@Override
	public Personal getById(long id) {
		
		return pDao.getById(id);
	}
	@Override
	public void saveInfo(Personal p) {
		pDao.saveInfo(p);
	}
	@Override
	public void updatePerson(Personal p) {
		pDao.updatePerson(p);
	}

}
